
package com.joolun.cloud.mall.api.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.joolun.cloud.mall.common.entity.DistributionOrder;

import java.math.BigDecimal;

/**
 * 分销订单
 *
 * @author www.joolun.com
 * @date 2021-04-30 10:26:30
 */
public interface DistributionOrderService extends IService<DistributionOrder> {
	IPage<DistributionOrder> page1(IPage<DistributionOrder> page, DistributionOrder distributionOrder);

	/**
	 * 获取某个分销员的冻结金额
	 * @param distributionUserId
	 * @return
	 */
	BigDecimal getDistributionUserFrozenAmount(String distributionUserId);
}
